home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!ozzy.demon.co.uk
- From: Brian Skreeg <oz@ozzy.demon.co.uk>
- Newsgroups: comp.sys.amiga.programmer
- Subject: Timing stuff
- Date: Mon, 1 Apr 96 20:43:25 GMT
- Organization: Fish Technologies Ltd.
- Message-ID: <9604012043.AA003vp@ozzy.demon.co.uk>
- X-NNTP-Posting-Host: ozzy.demon.co.uk
- X-Newsreader: TIN [version 1.2 PL3]
- X-Mail2News-Path: disperse.demon.co.uk!post.demon.co.uk!ozzy.demon.co.uk
-
- Hi folks,
-
- I'm writing a ircbot in SAS/C and I need to do things based on intervals.
- ie: if it doesn't have ops then ask at certain (10 secs) intervals for ops
- etc etc.
- What would be the best way for implementing such a thing. It's
- basically just a simple program with an irc file open using TCP: and stdio
- CON: for seing what it's up to.
- The program should still be able to go about ordinary between interval
- commands. ie: Delay() is no use.
-
- Any ideas?
- __ _ _
- / \ \ \ Out we come, bloody and squawling,
- / / / / / and for all the points of the compass,
- \__/ \ \ we know there's anly one direction,
- \__/_/ and time, is it's only measure,
- Guildernstern or Rosencrantz.
-